package cn.ywang.spring.framework;

import cn.ywang.spring.demo.action.MyAction;
import cn.ywang.spring.framework.context.ApplicationContext;

/**
 * @author BeatificWang
 * @date 2019/4/21 22:19
 */
public class Test {
	public static void main(String[] args) {
		ApplicationContext applicationContext =
				new ApplicationContext(new String[]{"classpath:application.properties"});
		Object o = applicationContext.getBean(MyAction.class.getName());
		System.out.println(o);
	}
}
